<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template('member', 'header'); ?>
<script type="text/javascript">
<!--
	var charset = '<?php echo CHARSET;?>';
//-->
</script>
<div id="main-content">
<div id="memberArea">
	<?php include template('member', 'left'); ?>
	 <div class="right">
    <div class="hd">
      <h3 class="t07"><strong>网上签约</strong> >><a href="#">管理网上签约</a></h3>
    </div>

	
	
	<div class="bd01"><font class="span05"><img src="<?php echo CSS_PATH;?>images/h_02.gif" />你发起的网上签约公司已经确认你的签约信息，立即到“<a href="#">我的评价</a>”频道发起网上评价. </font>
</div>
		 <div class="hd02">
<ul>
<li><a href="index.php?m=member&c=owners&a=signed" <?php if($_GET['tn']!=1) { ?>class="hover"<?php } ?> >和公司签约</a></li>
<li><a href="index.php?m=member&c=owners&a=signed&tn=1" <?php if($_GET['tn']==1) { ?>class="hover"<?php } ?>>和设计师签约</a></li></ul>
</div> 
<table class="table01">
  <tr>
    <th class="th02" style="width:31%;">我选择的签约<?php if($_GET['tn']==1) { ?>设计师<?php } else { ?>装饰公司<?php } ?></th>
    <th class="th02" style="width:23%;">我的项目说明</th>
	<th class="th02" style="width:23%;">签约状态</th>
	<th class="th02" style="width:23%;">时间</th>
  </tr>
  <?php $n=1;if(is_array($signed_data)) foreach($signed_data AS $r) { ?>
  <tr>
    <td><?php if($_GET['tn']==1) { ?><?php echo $r['name'];?><?php } else { ?><?php echo $r['companyname'];?><?php } ?></td>
	<td class="td03"><?php echo $r['project_name'];?> 联系方式：<?php echo $r['contact'];?> </td>
	 <td class="td02"><?php if($r[is_sure]==1) { ?>已经确认<?php } else { ?>未确认<?php } ?> <?php if($r[is_sure]==1) { ?><input name="" type="button" class="h_bottom02" value="网上评价" onclick="location.href='index.php?m=member&c=owners&a=appraisal&signedid=<?php echo $r['signedid'];?>'" /><?php } ?></td>
	<td style="text-align:center;"><?php echo date('Y-m-d H:i',$r[addtime]);?></td>
  </tr>
 <?php $n++;}unset($n); ?>
 <?php if($total==0) { ?>
  <tr>
    <td colspan="4"><?php if($_GET['tn']!=1) { ?>你还没有对任何公司发起签约<?php } else { ?>你还没有对任何设计师发起签约<?php } ?></td>
	
  </tr>
 <?php } ?>
</table>
<div class="bottom">
  <div class="sabrosus"><?php echo $pages;?></div>
</div>     
    </div>
</div>
</div>

</body>
</html>